From 0efc7fcdcc9cf63aafbe25984cba2dc205578337 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 31 Aug 2004 20:47:15 +0000 Subject: [PATCH] (trivially) stricter internal checking. --- gpsbabel/sort.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gpsbabel/sort.c b/gpsbabel/sort.c index 446688ea3..9a9a6b345 100644 --- a/gpsbabel/sort.c +++ b/gpsbabel/sort.c @@ -51,6 +51,7 @@ sort_comp(const void * a, const void * b) case sm_gcid: return x1->gc_data.id > x2->gc_data.id; case sm_shortname: return strcmp (x1->shortname, x2->shortname); case sm_description: return strcmp (x1->description, x2->description); + default: abort(); /* Internal caller error. */ } } -- 2.30.2